part of 'bloc.dart';

class SingleCollectionSettingsPageBlocState {
  const SingleCollectionSettingsPageBlocState({
    required this.collection,
  });

  final Collection collection;

  SingleCollectionSettingsPageBlocState copyWith({
    Collection Function()? collection,
  }) {
    return SingleCollectionSettingsPageBlocState(
      collection: collection == null ? this.collection : collection(),
    );
  }
}
